package com.myapp.activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
 
public class AlarmReceiver  extends BroadcastReceiver {  
  
    @Override  
    public void onReceive(Context context, Intent intent) {  
     
		String content = intent.getStringExtra("content");
		
		String nzid = intent.getStringExtra("nzid");

		Intent i = new Intent(context, AlarmAlert.class);

		i.putExtra("content", content);
		
		i.putExtra("nzid", nzid);

		i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

		context.startActivity(i);
    }  
}
